/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2020.
 * Description: header for rtos oomkill notifier
 * Author: fanglinxu
 * Create: 2019-04-24
 */

#ifndef __RTOS_OOMKILL_NOTIFIER_H_
#define __RTOS_OOMKILL_NOTIFIER_H_

#include <linux/notifier.h>
extern int rtos_oom_notifier_register(struct notifier_block *nb);
extern int rtos_oom_notifier_unregister(struct notifier_block *nb);
extern void rtos_oom_kill_notify(pid_t *rtos_oomkill_pid);

#endif
